package cn.gcxy.base.utils;

import java.util.Arrays;

public class ArrayUtils {
	/**
	 * ????????????
	 * @param intAry
	 */
  public static void sort(int[] intAry){
	  int temp;
	  for(int i = 0;i <intAry.length-1;i++) {
			for(int j = 0;j < intAry.length-i-1;j++) {
				if(intAry[j]>intAry[j-1]) {
					temp = intAry[j];
					intAry[j] = intAry[j-1];
					intAry[j-1] = temp;
				}
			}
		}
	  System.out.println(Arrays.toString(intAry));
  }
}
